<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单</title>
</head>
<body>
    <!-- 
        表单作用:收集用户信息
        
        action:提交的地址
        method:提交方式 get post
         
        Alt+shift+鼠标左键往下拉:多行编辑
     -->
     <form action="#" method="POST">
         <P><label for="nickname">昵称:</label>
         <input type="text" placeholder="请输入昵称" id="nickname" name="nic"></P>

        <p><label for="nickmima">密码:</label>
         <input type="password" placeholder="请输入密码" id="nickmima" name="mima"></p>
         
         <p><label for="nickmimi">确认密码:</label>
            <input type="password" placeholder="确认密码" id="nickmimi" name="queren"></p>

            <p><label>性别:</label>
                <input type="radio" name="xingbie" checked value="0">男
                <input type="radio" name="xingbie" value="1">女</p>

                <p><label for="">爱好:</label>
                    <input type="checkbox" name="aihao" id="01" >敲代码
                    <input type="checkbox" name="aihao" id="02" >读书
                    <input type="checkbox" name="aihao" id="03" checked>撸啊撸
                </p>
            
                <p>
                    <select name="pro" id="pro">
                        <option value="01">北京</option>
                        <option value="02">上海</option>
                        <option value="03">广州</option>
                        <option value="04">深圳</option>
                        <option value="05">天津</option>
                        <option value="06">延津</option>
                    </select>
                </p>
                
                <p>
                    <textarea name="wenben"></textarea>   //文本域
                </p>
                <p>
                    <input type="file" name="" id="">
                </p>
                <input type="reset" value="重置">
                <input type="submit" value="提交">
                <input type="button" value="普通按钮">
     </form>
</body>
</html>